<template>
  <div class="home">
    <el-row>
      <el-button>默认按钮</el-button>
      <el-button type="primary">主要按钮</el-button>
      <el-button type="success">成功按钮</el-button>
      <el-button type="info">信息按钮</el-button>
      <el-button type="warning">警告按钮</el-button>
      <el-button type="danger">危险按钮</el-button>
    </el-row>
    <el-row>
      <router-link to="/">没有找到！？</router-link>
    </el-row>
    <el-row>
      <el-button type="success" @click="reto">点我返回</el-button>
    </el-row>
  </div>
</template>

<script>
export default {
  name: "Home",
  components: {},
  methods: {
    reto() {
      this.$router.push({ name: "index" });
    },
  },
};
</script>
